package com.groupbuying.sysconfig.service;

import com.groupbuying.sysconfig.domain.SysconfigOpexRuleDO;
import com.groupbuying.sysconfig.utils.R;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * 运营规则配置表
 * 
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-09-22 00:05:40
 * @des
 */

public interface SysconfigOpexRuleService {
	
	SysconfigOpexRuleDO get(String ruleId);
	
	List<SysconfigOpexRuleDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SysconfigOpexRuleDO sysconfigOpexRule);
	
	int update(SysconfigOpexRuleDO sysconfigOpexRule);
	
	int remove(String ruleId);
	
	int batchRemove(String[] ruleIds);

	R createOpexRule(@RequestBody Map<String, Object> params);
}
